<?php
require "./template/header.php";
?>
	<body>
		<div id="warp">
			<div id="header">
				<div id="logo">
					<a href="./">
						<img border="0" src="./images/logo.png">
					</a>
				</div>
			</div>
			<div id="content">
				<div id="register-register">
					<div id="register-register-register">
						<div id="register-register-register-title">
							用户注册
						</div>
						<div id="register-register-register-main">
							<form action="./do.php?type=register" method="post">
								<div id="register-register-register-main-input">
									<div id="register-register-register-main-input-a">
										用户邮箱:
									</div>
									<div id="register-register-register-main-input-b">
										<input type="text" name="email"  placeholder="请输入电子邮箱" class="register-input-width" />
									</div>
								</div>
								<div id="register-register-register-main-input">
									<div id="register-register-register-main-input-a">
										用户密码:
									</div>
									<div id="register-register-register-main-input-b">
										<input type="password" name="password" class="register-input-width" />
									</div>
								</div>
								<div id="register-register-register-main-input">
									<div id="register-register-register-main-input-a">
										确认密码:
									</div>
									<div id="register-register-register-main-input-b">
										<input type="password" name="confirmpassword" class="register-input-width" />
									</div>
								</div>
								<div id="register-register-register-main-input">
									<div id="register-register-register-main-input-a">
										密保问题:
									</div>
									<div id="register-register-register-main-input-b">
										<select name="question">
											<option value="0">请选择密保问题?</option>
											<option value="1000">我最喜欢的老师</option>
											<option value="2000">我最喜欢的女神</option>
											<option value="3000">我最喜欢的颜色</option>
											<option value="4000">我最喜欢的游戏</option>
										</select>
									</div>
								</div>
								<div id="register-register-register-main-input">
									<div id="register-register-register-main-input-a">
										密保答案:
									</div>
									<div id="register-register-register-main-input-b">
										<input type="text" name="answer" placeholder="请输入密保答案" />
									</div>
								</div>
								<div id="register-register-register-main-input">
									<div id="register-register-register-main-input-a">
										验证码:
									</div>
									<div id="register-register-register-main-input-b">
										<input readonly type="text" name="yanzheng"  value="<?php echo yanzheng(); ?>" class="captcha-width" />输入:<input type="text" name="captcha"  class="captcha-width" />
									</div>
								</div>
								<div id="register-register-register-main-button">
									<button type="submit">注册帐号</button>
								</div>
							</form>
						</div>
					</div>
				</div>
				<div id="register-login">
					<div id="register-login-main">
						<div id="regiser-login-main-content">
							已有账号?
							<br />
							<a href="./">去首页登录</a>
						</div>
					</div>
				</div>
			</div>
			<div id="footer">
				<div id="menu-good">
					<ul>
						<li><a href="./help.php">挂Q帮助</a></li>
						<li><a href="./search.php">挂Q查询</a></li>
						<li><a href="./count.php">网站统计</a></li>
						<li><a href="./wall.php">挂Q头墙</a></li>
					</ul>
				</div>
<?php
require "./template/footer.php";
?>